package com.zhao.pojo;

public class Major {
    private String majorID;
    private String majorName;
    private String universityID;
    private String departmentID;

    public Major(String majorID, String majorName, String universityID, String departmentID) {
        this.majorID = majorID;
        this.majorName = majorName;
        this.universityID = universityID;
        this.departmentID = departmentID;
    }

    public String getDepartmentID() {
        return departmentID;
    }

    public void setDepartmentID(String departmentID) {
        this.departmentID = departmentID;
    }

    @Override
    public String toString() {
        return "Major{" +
                "majorID='" + majorID + '\'' +
                ", majorName='" + majorName + '\'' +
                ", universityID='" + universityID + '\'' +
                ", departmentID='" + departmentID + '\'' +
                '}';
    }

    public Major(String majorID, String majorName, String universityID) {
        this.majorID = majorID;
        this.majorName = majorName;
        this.universityID = universityID;
    }

    public String getUniversityID() {
        return universityID;
    }

    public void setUniversityID(String universityID) {
        this.universityID = universityID;
    }

    public String getMajorID() {
        return majorID;
    }

    public void setMajorID(String majorID) {
        this.majorID = majorID;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public Major() {
    }

    public Major(String majorID, String majorName) {
        this.majorID = majorID;
        this.majorName = majorName;
    }
}
